<aside class="main-sidebar">
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="{if $Think.Session.admin.head_image neq ''}{$Think.Session.admin.head_image}{else/}__STATIC__/images/{$default_userlogo_img_file}{/if}" class="img-circle img_user_logo" alt="User Image">
            </div>
            <div class="pull-left info">
                {if $Think.Session.admin.extennum eq ''}
                <p id="nickname_1">
                    {if $Think.Session.admin.nickname neq ''}
                        {$Think.Session.admin.nickname}
                    {else/}
                        {$Think.Session.admin.username}
                    {/if}
                </p>
                {else/}
                <p id="nickname_2">
                    {$Think.Session.admin.extennum}
                </p>
                {if $Think.Session.admin.extennum neq '' and $Think.Session.admin.extennum neq '未绑定分机' }
                <a href="#" id="exten_status">
                    <i class="fa fa-circle text-success"></i> 在线
                </a>
                {/if}
                {/if}
            </div>
        </div>
        <ul class="sidebar-menu" data-widget="tree" data-animation-speed="200">
        </ul>
    </section>
</aside>
